package com.ktgj.service.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 值机订单明细
对象 orderitem_boarding
 * 
 * @author ruoyi
 * @date 2021-09-03
 */
public class OrderitemBoarding extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单条款ID */
    private Long orderitemboardingId;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long orderboardingId;

    /** 乘客姓名 */
    @Excel(name = "乘客姓名")
    private String guestName;

    /** 证件类型 */
    @Excel(name = "证件类型")
    private String idTypeid;

    /** 身份证 */
    @Excel(name = "身份证")
    private String idNumber;

    /** 底价 */
    @Excel(name = "底价")
    private BigDecimal basePrice;

    /** 建议零售价 */
    @Excel(name = "建议零售价")
    private BigDecimal recommendedRetailprice;

    /** 销售价格 */
    @Excel(name = "销售价格")
    private BigDecimal salePrice;

    /** 座位号 */
    @Excel(name = "座位号")
    private String seatNubmer;

    /** 登机牌快照路径 */
    @Excel(name = "登机牌快照路径")
    private String boardingpassImagepath;

    /** 代办登机牌打印次数 */
    @Excel(name = "代办登机牌打印次数")
    private Long boardingpassPrinttimes;

    /** 子订单状态：10,未支付(未换暂时免费，无此状态);20,待值机(未换未领);22已值机待打印(未打印); 25已值机待领取(已打印);28,值机失败;30,消费完成（领取成功/已换已领）;40,取消订单;50,退款中;60,退款完成; */
    @Excel(name = "子订单状态：10,未支付(未换暂时免费，无此状态);20,待值机(未换未领);22已值机待打印(未打印); 25已值机待领取(已打印);28,值机失败;30,消费完成", readConverterExp = "领=取成功/已换已领")
    private String status;

    /** 登机号 */
    @Excel(name = "登机号")
    private String boardingNumber;

    /** 舱位 */
    @Excel(name = "舱位")
    private String cabin;

    /** 登机时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "登机时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date boardingTime;

    /** 电子票号 */
    @Excel(name = "电子票号")
    private String ticketNumber;

    /** 操作人ID */
    @Excel(name = "操作人ID")
    private Long opemployeeId;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private Date crateTime;

    /** 更新时间 */
    @Excel(name = "更新时间")
    private Date updateTime;

    /** 登机牌pdf417编码 */
    @Excel(name = "登机牌pdf417编码")
    private String pdf417;

    /** 登机牌code128编码 */
    @Excel(name = "登机牌code128编码")
    private String code128;

    /** 登机口 */
    @Excel(name = "登机口")
    private String boardinGgate;

    /** 备注 */
    @Excel(name = "备注")
    private String remark;

    /** 完成状态：0 员工处理，1 系统自动 */
    @Excel(name = "完成状态：0 员工处理，1 系统自动")
    private String completionStatus;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getOrderitemboardingId() {
        return orderitemboardingId;
    }

    public void setOrderitemboardingId(Long orderitemboardingId) {
        this.orderitemboardingId = orderitemboardingId;
    }

    public Long getOrderboardingId() {
        return orderboardingId;
    }

    public void setOrderboardingId(Long orderboardingId) {
        this.orderboardingId = orderboardingId;
    }

    public String getGuestName() {
        return guestName;
    }

    public void setGuestName(String guestName) {
        this.guestName = guestName;
    }

    public String getIdTypeid() {
        return idTypeid;
    }

    public void setIdTypeid(String idTypeid) {
        this.idTypeid = idTypeid;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public BigDecimal getBasePrice() {
        return basePrice;
    }

    public void setBasePrice(BigDecimal basePrice) {
        this.basePrice = basePrice;
    }

    public BigDecimal getRecommendedRetailprice() {
        return recommendedRetailprice;
    }

    public void setRecommendedRetailprice(BigDecimal recommendedRetailprice) {
        this.recommendedRetailprice = recommendedRetailprice;
    }

    public BigDecimal getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(BigDecimal salePrice) {
        this.salePrice = salePrice;
    }

    public String getSeatNubmer() {
        return seatNubmer;
    }

    public void setSeatNubmer(String seatNubmer) {
        this.seatNubmer = seatNubmer;
    }

    public String getBoardingpassImagepath() {
        return boardingpassImagepath;
    }

    public void setBoardingpassImagepath(String boardingpassImagepath) {
        this.boardingpassImagepath = boardingpassImagepath;
    }

    public Long getBoardingpassPrinttimes() {
        return boardingpassPrinttimes;
    }

    public void setBoardingpassPrinttimes(Long boardingpassPrinttimes) {
        this.boardingpassPrinttimes = boardingpassPrinttimes;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getBoardingNumber() {
        return boardingNumber;
    }

    public void setBoardingNumber(String boardingNumber) {
        this.boardingNumber = boardingNumber;
    }

    public String getCabin() {
        return cabin;
    }

    public void setCabin(String cabin) {
        this.cabin = cabin;
    }

    public Date getBoardingTime() {
        return boardingTime;
    }

    public void setBoardingTime(Date boardingTime) {
        this.boardingTime = boardingTime;
    }

    public String getTicketNumber() {
        return ticketNumber;
    }

    public void setTicketNumber(String ticketNumber) {
        this.ticketNumber = ticketNumber;
    }

    public Long getOpemployeeId() {
        return opemployeeId;
    }

    public void setOpemployeeId(Long opemployeeId) {
        this.opemployeeId = opemployeeId;
    }

    public Date getCrateTime() {
        return crateTime;
    }

    public void setCrateTime(Date crateTime) {
        this.crateTime = crateTime;
    }

    @Override
    public Date getUpdateTime() {
        return updateTime;
    }

    @Override
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getPdf417() {
        return pdf417;
    }

    public void setPdf417(String pdf417) {
        this.pdf417 = pdf417;
    }

    public String getCode128() {
        return code128;
    }

    public void setCode128(String code128) {
        this.code128 = code128;
    }

    public String getBoardinGgate() {
        return boardinGgate;
    }

    public void setBoardinGgate(String boardinGgate) {
        this.boardinGgate = boardinGgate;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCompletionStatus() {
        return completionStatus;
    }

    public void setCompletionStatus(String completionStatus) {
        this.completionStatus = completionStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderitemboardingId", getOrderitemboardingId())
            .append("orderboardingId", getOrderboardingId())
            .append("guestName", getGuestName())
            .append("idTypeid", getIdTypeid())
            .append("idNumber", getIdNumber())
            .append("basePrice", getBasePrice())
            .append("recommendedRetailprice", getRecommendedRetailprice())
            .append("salePrice", getSalePrice())
            .append("seatNubmer", getSeatNubmer())
            .append("boardingpassImagepath", getBoardingpassImagepath())
            .append("boardingpassPrinttimes", getBoardingpassPrinttimes())
            .append("status", getStatus())
            .append("boardingNumber", getBoardingNumber())
            .append("cabin", getCabin())
            .append("boardingTime", getBoardingTime())
            .append("ticketNumber", getTicketNumber())
            .append("opemployeeId", getOpemployeeId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("pdf417", getPdf417())
            .append("code128", getCode128())
            .append("boardinGgate", getBoardinGgate())
            .append("remark", getRemark())
            .append("completionStatus", getCompletionStatus())
            .toString();
    }
}
